package com.sinsz.common.bolt;

/**
 * 服务消费实例
 * @author chenjianbo
 */
public class ReferenceBean<T> {

    private Class<T> clz;

    private T failback;

    public ReferenceBean(Class<T> clz, T failback) {
        this.clz = clz;
        this.failback = failback;
    }

    public Class<T> getClz() {
        return clz;
    }

    public void setClz(Class<T> clz) {
        this.clz = clz;
    }

    public T getFailback() {
        return failback;
    }

    public void setFailback(T failback) {
        this.failback = failback;
    }
}
